package com.youku.component;

import java.util.HashMap;
import java.util.Map;

/**
 * 项目持有容器
 * 
 * @author loda
 *
 */
public class ProjectHolder {

	private static Map<String, Project> projects = new HashMap<>();

	public static void binding(String pid, Project project) {
		projects.put(pid, project);
	}

	public static Project get(String pid) {
		return projects.get(pid);
	}
}
